package com.gomore.opple.data;

import com.gomore.opple.ApplicationModule;

import javax.inject.Singleton;

import dagger.Component;

/**
 * 全局的Component组件
 */
@Singleton
@Component(modules = {DataRepositoryModule.class, ApplicationModule.class})
public interface DataRepositoryComponent {
    //向其下层提供DataRepository对象
    DataRepository getDataRepository();
}
